<div class="row" style="padding:5px;">
	<div class="col-lg-12">
		<table class="layui-table" lay-skin="line">
			<thead>
				<tr class="design-sortable-tr">
					<th>用户名</th>
					<th>接入渠道</th>
					<th>服务坐席</th>
					<th>咨询时间</th>
					<th>服务时间</th>
					<th>等待时长</th>
					<th>服务时间</th>
					<th>地域</th>
				</tr>
			</thead>
			<tbody>
				<#if agentServiceList?? && agentServiceList.content?size gt 0>
				<#list agentServiceList.content as agentService>
				<tr class="tdHasContorllor design-dropable-td">
					<td class=" ukefu-online-client">
						<a href="/service/online/chatmsg.html?id=${agentService.id!''}&title=false" data-toggle="ajax" data-width="950" data-height="500" data-title="服务记录">
							${agentService.username!''}
						</a>
					</td>
					<td>
						${agentService.channel!''}
					</td>
					<td>
						${agentService.agentusername!''}
					</td>
					<td><#if agentService.logindate??>${agentService.logindate?string('yyyy-MM-dd HH:mm:ss')}</#if></td>
					<td>
						<#if agentService.servicetime??>
						${agentService.servicetime?string('yyyy-MM-dd HH:mm:ss')}
						</#if>
					</td>
					<td>
						<#if agentService.waittingtime??>
							${(agentService.waittingtime/(1000*60*60))?floor?string('00')}:${((agentService.waittingtime%(1000*60*60))/(1000*60))?floor?string('00')}:${((agentService.waittingtime%(1000*60))/(1000))?floor?string('00')}
						</#if>
					</td>
					
					<td class="minSize ">
						<#if agentService.sessiontimes??>
							${(agentService.sessiontimes/(1000*60*60))?floor?string('00')}:${((agentService.sessiontimes%(1000*60*60))/(1000*60))?floor?string('00')}:${((agentService.sessiontimes%(1000*60))/(1000))?floor?string('00')}
						</#if>
					</td>
					<td class=" ">${agentService.region!''}</td>
				</tr>
				</#list>
				<#else>
					<tr>
						<td colspan="20" style="height:400px;">
							<div class="ukefu-empty">
								<i class="layui-icon">&#xe63a;</i>
								<div style="">还没有历史会话</div>
							</div>
						</td>
					</tr>
				</#if>
			</tbody>
		</table>
	</div>
</div>